//封装登录请求接口的请求调用的函数

//先导入封装的统一调用函数和参数/返回的数据类型
import { get, post, put,del } from './request'
//登录接口的请求函数      参数名：参数值



export const rateClazzApi = (data: any) => {
  return post<any>('clazz/rate', data)
}

export const addClazzApi = (data: any) => {
  return post<any>('clazz/addBitch', data)
}

export const getMajorApi = () => {
  return get<any>('clazz/getMajorList')
}

export const updateClazzApi = (data?: any) => {
  return post<any>('clazz/updateReason',data)
}

export const cesClazzApi = () => {
  return get<any>('clazz/employmentDetails')
}

export const getEmploymentApi = (data: any) => {
    return post<any>('clazz/getEmployment',data)
  }
  export const uploadApi = (file: any) => {
    return post<any>('clazz/upload', file);
  }
  export const GetClazzNameApi = () => {
    return get<any>('clazz/getClazzList');
  }